package com.zmx.patients.view.activity;

import android.content.Intent;
import android.view.View;
import android.widget.TextView;

import com.zmx.patients.BaseActivity;
import com.zmx.patients.R;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;

/**
 * 时间：2020/4/30 17:31
 * 功能：我的手环
 */
public class MeBangleActivity extends BaseActivity {


    @BindView(R.id.bangle1)
    TextView bangle1;
    @BindView(R.id.bangle2)
    TextView bangle2;
    @BindView(R.id.bangle3)
    TextView bangle3;

    @Override
    protected int getLayoutId() {
        return R.layout.activity_me_bangle;
    }

    @Override
    protected void initViews() {

        setToolbar(R.id.tool_bar);
        ButterKnife.bind(this);

    }


    Intent intent = new Intent();
    @OnClick({R.id.bangle1, R.id.bangle2, R.id.bangle3})
    public void onViewClicked(View view) {
        switch (view.getId()) {
            case R.id.bangle1:
                intent.setClass(mActivity, BraceletDataActivity.class);
                startActivity(intent);
                break;
            case R.id.bangle2:
                intent.setClass(mActivity, BraceletDataActivity.class);
                startActivity(intent);
                break;
            case R.id.bangle3:
                intent.setClass(mActivity, BraceletDataActivity.class);
                startActivity(intent);
                break;
        }
    }
}
